<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="com.ffcs.crmd.platform.ui.utils.JspUtil"%>
<!DOCTYPE html>
<jsp:include page="/resources/theme/default/include/default-header-inc.jsp"></jsp:include>
<jsp:include page="/resources/theme/default/include/default-footer-inc.jsp"></jsp:include>
<html>
<head>
	<title>登录管理</title>
	<script type="text/javascript" src="../public-service.js"></script>
	<script type="text/javascript" src="./login-controller.js"></script>
</head>
<body class="login" ng-app="publicLoginApp" ng-controller="publicLoginCtrl">
	<div class="login-top">
		<div class="login-logo">
			<img src="../img/logo.png" />
		</div>
		<div class="login-welcome">
			<span>&nbsp;</span>
		</div>
	</div>
	<div class="login-body">
		<div class="login-body-left"></div>
		<div class="login-body-right">
			<form class="login-form">
				<ul>
					<li class="login-form-info">
						<span>用户登录</span>
					</li>
					<li>
						<span>用户名：</span>
						<input name="userCode" type="text" ng-model="loginParams.userCode" size="30" />
					</li>
					<li>
						<span>密 &nbsp;&nbsp;码：</span>
						<input name="password" type="password" ng-model="loginParams.password" size="30"/>
					</li>
					<li>
						<input class="btn btn-blue login-button" value="登&nbsp;&nbsp;录" ng-click="login()"/>
					</li>
				</ul>
			</form>
			<div class="login-remeberme">
				<label>
					<input type="checkbox" checked/>记住用户名
				</label>
			</div>
		</div>
	</div>
	<div>
		<div class="login-footer-name">
			<span>-代码生成 -项目生成-项目管理</span>
		</div>
		<div class="login-footer-copy">
			<span>Copy Right &copy;2016 中国电信集团公司 All Rights Reserved</span>
		</div>
	</div>

	<!-- 日期显示-end -->
	<script type="text/javascript">
		$(function() {
			Date.prototype.format = function(format) {
				var o = {
					"M+" : this.getMonth() + 1, //month 
					"d+" : this.getDate(), //day 
					"h+" : this.getHours(), //hour 
					"m+" : this.getMinutes(), //minute 
					"s+" : this.getSeconds(), //second 
					"q+" : Math.floor((this.getMonth() + 3) / 3), //quarter 
					"S" : this.getMilliseconds()
				}

				if (/(y+)/.test(format)) {
					format = format.replace(RegExp.$1,(this.getFullYear() + "").substr(4 - RegExp.$1.length));
				}

				for ( var k in o) {
					if (new RegExp("(" + k + ")").test(format)) {
						format = format.replace(RegExp.$1,
								RegExp.$1.length == 1 ? o[k] : ("00" + o[k])
										.substr(("" + o[k]).length));
					}
				}
				return format;
			}
			var dayNames = new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六");
			var now = new Date();
			$(".login-welcome > span").text("欢迎您！" + now.format("yyyy年MM月dd日") + " " + dayNames[now.getDay()]);
		});
	</script>
</body>
</html>